home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / xgrab.1 < prev    next >
Text File  |  1995-07-25  |  6KB  |  199 lines

  1.  
  2.  
  3.  
  4.      XXXXGGGGRRRRAAAABBBB((((1111XXXX))))                 UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                 XXXXGGGGRRRRAAAABBBB((((1111XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           xgrab - interactive front for xgrabsc, an X-Windows image
  10.           grabber
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           _x_g_r_a_b
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.           _x_g_r_a_b lets you grab arbitrary rectangular images from an X
  17.           server and writes them to files or commands (such as lpr) in
  18.           a variety of formats.
  19.  
  20.           _x_g_r_a_b is a front for the xgrabsc program.  Read the man page
  21.           for _x_g_r_a_b_s_c for a description of the options presented by
  22.           xgrab.
  23.  
  24.           After selecting options from the various categories
  25.           presented, press the _O_K button to have xgrab run xgrabsc to
  26.           let you grab an image from the screen.  After you press _O_K,
  27.           xgrab's window will disappear and xgrabsc will gain control
  28.           until the grabbing process is finished.  Afterwards, the
  29.           xgrab window will reappear.
  30.  
  31.  
  32.  
  33.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  34.           Xgrab responds to the standard application options, such as
  35.           -_d_i_s_p_l_a_y.  See the man page for _X for a complete list.
  36.  
  37.           You can also override the default xgrab settings in your
  38.           .Xdefaults.  See the examples section below for
  39.           instructions.
  40.  
  41.  
  42.  
  43.      RRRREEEESSSSOOOOUUUURRRRCCCCEEEESSSS
  44.           The XGrab resource file, XGrab.ad, contains a complete
  45.           specification of the resources of all the widgets used in
  46.           the xgrab window.  Global resources, such as default font
  47.           and color, are at the bottom of the file.
  48.  
  49.  
  50.  
  51.      EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  52.           The _T_o _C_o_m_m_a_n_d output option may be used to pipe xgrabsc
  53.           output to programs.  The most common commands are _l_p_r for
  54.           Postscript output, and _x_w_u_d for X-Window Dump output.
  55.           Programs that do not accept piped input should not be used
  56.           in _T_o _C_o_m_m_a_n_d.
  57.  
  58.           You can also get fancy and pipe the output through more than
  59.           one command, such as _t_e_e _s_c_r_e_e_n._d_m_p | _x_w_u_d, to store the
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 3/9/94)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXGGGGRRRRAAAABBBB((((1111XXXX))))                 UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                 XXXXGGGGRRRRAAAABBBB((((1111XXXX))))
  71.  
  72.  
  73.  
  74.           grabbed image and get a preview window.
  75.  
  76.  
  77.           Default settings for xgrab can be made in your .Xdefaults
  78.           file.  For the Athena toolkit version of xgrab, Toggle
  79.           buttons can be set/unset through their ._s_t_a_t_e attribute, and
  80.           text field strings can be set through their *_s_t_r_i_n_g
  81.           attribute.  For the Motif toolkit version (which has
  82.           diamond-shaped buttons for radio buttons), toggle buttons
  83.           can be set/unset through their ._s_e_t attribute and text field
  84.           strings can be set through their *_v_a_l_u_e attribute.
  85.  
  86.           For example, to set the default paper size for postscript
  87.           output, put these lines in your .Xdefaults (and use xrdb to
  88.           load them into the server!):
  89.  
  90.           XGrab*.pageWidthText*string:   8.5
  91.           XGrab*.pageHeightText*string: 11.0
  92.  
  93.           or
  94.  
  95.           XGrab*.pageWidthText*value:    8.5
  96.           XGrab*.pageHeightText*value:  10.0
  97.  
  98.           To set the default output type to _X_W_D, put these lines in
  99.           your .Xdefaults:
  100.  
  101.           XGrab*.ps.state:  0
  102.           XGrab*.xwd.state: 1
  103.  
  104.  
  105.  
  106.      LLLLIIIIMMMMIIIITTTTAAAATTTTIIIIOOOONNNNSSSS
  107.           See the limitations listed in the xgrabsc man page.
  108.  
  109.  
  110.  
  111.      AAAAUUUUTTTTHHHHOOOORRRR
  112.                Bruce Schuchardt
  113.               Servio Corporation
  114.                 bruce@slc.com
  115.  
  116.  
  117.  
  118.      AAAACCCCKKKKNNNNOOOOWWWWLLLLEEEEGGGGEEEEMMMMEEEENNNNTTTTSSSS
  119.           See the xgrabsc man page, and the Acks file in the xgrabsc
  120.           distribution for a list of acknowledgements.
  121.  
  122.  
  123.  
  124.      CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
  125.           Copyright (c) 1991-93 Bruce Schuchardt
  126.  
  127.  
  128.  
  129.      Page 2                                           (printed 3/9/94)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXGGGGRRRRAAAABBBB((((1111XXXX))))                 UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                 XXXXGGGGRRRRAAAABBBB((((1111XXXX))))
  137.  
  138.  
  139.  
  140.           _X_g_r_a_b is copywritten material with a very loose copyright
  141.           allowing unlimited modification and distribution if the
  142.           copyright notices are left intact.  Various portions are
  143.           copywritten by various people, but all use a modification of
  144.           the MIT copyright notice.  Please check the source for
  145.           complete copyright information.  The intent is to keep the
  146.           source free, not to stifle its distribution, so please write
  147.           to me if you have any questions.
  148.  
  149.           THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
  150.           SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
  151.           MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE AUTHOR BE
  152.           LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  153.           ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  154.           PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  155.           OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
  156.           THE USE OR PERFORMANCE OF THIS SOFTWARE.
  157.  
  158.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  159.           X(1X), xgrabsc(1X), xhost(1), xwd(1X), xwud(1X),
  160.           xloadimage(1X), xpm(1X), xpr(1X), ad2c(1)
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                                           (printed 3/9/94)
  196.  
  197.  
  198.  
  199.